// 判断是否为PC端
function IsPC(){
    var userAgentInfo = navigator.userAgent;
    var Agents = new Array("Android", "iPhone", "SymbianOS", "Windows Phone", "iPad", "iPod");
    var flag = true;
    for (var v = 0; v < Agents.length; v++) {
        if (userAgentInfo.indexOf(Agents[v]) > 0) { flag = false; break; }
    }
    return flag;
}

// PC端加上右边导航按钮

var conWid = 540;
var bodyWid = document.body.clientWidth;
if(IsPC()){
    document.getElementById('operationBtn').style.right = (bodyWid - conWid)/2 - 50 + 'px';
}else{
    var obj = document.getElementById('operationBtn');
    obj.parentNode.removeChild(obj);
}